package com.javasix;

public class Test2 {
    public static void main(String[] args) {
        ClimbThread climbThread = new ClimbThread("老年人",1000,3);
        ClimbThread climbThread1 = new ClimbThread("年轻人",1000,3);
        Thread thread = new Thread(climbThread);
        Thread thread2 = new Thread(climbThread1);
        thread.start();
        thread2.start();
    }
}
